#ifndef RENDERTHREAD_H
#define RENDERTHREAD_H

#include <QMutex>
#include <QObject>
#include <QTcpSocket>
#include <basetsd.h>
#include "renderthreadbase.h"

class RenderThread : public RenderThreadBase
{
    Q_OBJECT
public:
    RenderThread();
    ~RenderThread();
    void render()override;
    void SetIpAndPort(QString text1_tmp, QString text2_tmp);

protected:
    QByteArray remoteCall(QTcpSocket *m_socket, QString call_data);

private:
    QMutex mutex;
    QString text1, text2;
};

#endif // RENDERTHREAD_H
